home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2395 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1015 b 

  1. Path: parsifal.nando.net!sirrobin
  2. From: sirrobin@nando.net (sirrobin)
  3. Newsgroups: comp.lang.c++
  4. Subject: File appending question
  5. Date: 17 Jan 1996 15:49:41 GMT
  6. Organization: NandO.net
  7. Message-ID: <4dj5ql$av6@castle.nando.net>
  8. NNTP-Posting-Host: parsifal.nando.net
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Okay i have another question
  12. I open a file with fopen using the a+ option
  13. The i do the following
  14. fseek(stream,0,SEEK_END)
  15. to find the end of file
  16. And then i use fprintf to print to the stream
  17. However whenever i do it always inserts a A9 or . right before
  18. my character??
  19. Why does it do this??
  20.  
  21. --
  22. ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
  23. () Richard Arnesen       ()  Paraphrasing Bryant Gumbel on Today  ()
  24. () sirrobin@nando.net    ()  So which do you think has been worse ()
  25. () GO WOLFPACK           ()  for the country, Newts Contract or   ()
  26. ()                       ()  the Oklahoma City Bombing            ()
  27. ()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
  28.  
  29.   
  30.